<div class="col2-left-layout">
    <div class="main">
        <div class="col-main">
            <div class="my-account">
                <div class="page-title">
                    <h1>Thay đổi thông tin tài khoản</h1>
                </div>
                <form id="formID" method="post" action="<?php echo base_url(); ?>users/account">
                    <div class="fieldset">                        
                        <h2 class="legend">Thông tin tài khoản</h2>
                        <ul class="form-list">
                            <li class="fields">
                                <div class="customer-name">
                                    <div class="field name-firstname">
                                        <label for="firstname" class="required"><em>*</em>Tên đăng nhập</label>
                                        <div class="input-box">
                                            <input type="text" id="firstname" readonly="" name="txtUsername" value="<?php echo $user->user_login;?>" title="Username" class="input-text required-entry validate[required]">
                                            <p style="color:red;"></p>
                                        </div>
                                    </div>
                                    <div class="field name-lastname">
                                        <label for="lastname" class="required"><em>*</em>Tên hiển thị</label>
                                        <div class="input-box">
                                            <input type="text" id="lastname" name="txtDisplayname" value="<?php echo $user->user_nicename;?>" title="Display name" class="input-text required-entry validate[required]">
                                        </div>
                                    </div>
                                </div>
                            </li>                        
                            <li class="fields">
                                <div class="field">
                                    <label for="email" class="required"><em>*</em>Email</label>
                                    <div class="input-box">
                                        <input type="text" name="txtEmail" value="<?php echo $user->user_email;?>" title="Email" class="input-text required-entry validate[required,custom[email]]" id="email">
                                        <p style="color:red;"></p>
                                    </div>
                                </div>    
                                <div class="field">
                                    <label for="txtPhone" class="required"><em>*</em>Số điện thoại</label>
                                    <div class="input-box">
                                        <input type="text" name="txtPhone" value="<?php echo $user->phone;?>" title="Telephone" class="input-text required-entry validate[required]" id="txtPhone">
                                    </div>
                                </div>                           
                            </li>
                        </ul>
                    </div>
                    <div class="fieldset">
                        <h2 class="legend">Địa chỉ</h2>
                        <ul class="form-list">
                            <li class="wide">
                                <label for="street_1" class="required"><em>*</em>Địa chỉ</label>
                                <div class="input-box">
                                    <input type="text" name="txtAddress" value="<?php echo $user->address;?>" title="Địa chỉ" id="street_1" class="input-text required-entry validate[required]">
                                </div>
                            </li>                        
                        </ul>
                    </div>                    
                    <div class="buttons-set">
                        <p class="required">* Thông tin bắt buộc</p>                        
                        <button class="button" title="Save" type="submit"><span><span>Save</span></span></button>
                    </div>
                </form>
            </div>                
        </div>
        <div class="col-left sidebar">
            <div class="block block-account">
                <div class="block-title">
                    <strong><span>Tài khoản</span></strong>
                </div>
                <div class="block-content">
                    <ul>
                        <li class="current"><strong>Thông tin tài khoản</strong></li>                        
                        <li><a href="<?php echo base_url(); ?>users/changepass">Đổi mật khẩu</a></li>                        
                        <li><a href="<?php echo base_url(); ?>users/wishlists/restaurent">Nhà hàng yêu thích</a></li>                                                
                        <li class="last"><a href="<?php echo base_url(); ?>users/wishlists/product">Món ăn yêu thích</a></li>                                                
                    </ul>
                </div>
            </div>                   
            <div class="magicat-container">
                <div id="wapper_cart">
                  <div class="block">
                      <div class="block-title cat_heading"> <strong><span>Các món đã đặt</span></strong> </div>               
                      <?php $flag = 1; include('carts_cart.php') ?>
                  </div>
                </div>              
            </div>           
        </div>
    </div>
</div